class ResultModel<T> {
  bool success;

  T result;

  bool fail;

  String errorMsg;

  ResultModel({this.success = false, this.result, this.fail = false, this.errorMsg});

  @override
  String toString() {
    return 'ResultModel{success: $success, result: $result, fail: $fail, errorMsg: $errorMsg}';
  }


}
